import { CommonType } from '../../../dto/common.type';
import { Field, ObjectType } from '@nestjs/graphql';

@ObjectType()
export class TimetableRecordType extends CommonType {
  @Field({
    description: '预约时间',
  })
  subscribeTime: Date;

  @Field({
    description: '用户',
    nullable: true,
  })
  studentId: string;

  @Field({
    description: '用户消费卡',
    nullable: true,
  })
  cardRecordId: string;

  @Field({
    description: '课程表',
    nullable: true,
  })
  timetableId: string;

  @Field({
    description: '课程',
    nullable: true,
  })
  courseId: string;

  @Field({
    description: '门店',
    nullable: true,
  })
  orgId: string;
}
